package com.ld.control.business.equipment.vo.req;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 设备表
 * </p>
 *
 * @author wangfeng
 * @since 2024-04-17
 */
@Data
@Schema(description = "设备表")
public class EquipmentReqVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    @Schema(description = "区域id,此设备属于哪个区域，为null则不属于任何区域")
    private Long regionId;

    @Schema(description = "设备图片，建议1:1")
    private String image;

    @Schema(description = "设备名称")
    private String name;

    @Schema(description = "设备编号")
    private String code;

    @Schema(description = "设备IP")
    private String ip;

    @Schema(description = "设备端口")
    private Integer port;

    @Schema(description = "设备颜色")
    private String color;

    //Parameter(hidden = true)
    @Schema(description = "是否可用：0否，1是")
    private Integer useFlag;
}
